<?php if (!defined('THINK_PATH')) exit();?> <!DOCTYPE html>
 <html>
 <head>
 	<title>信息无限分类管理</title>
 	<meta charset = "utf8">
 </head>
 <body>
 	<center>
 		<table width="500" border="0">
 			<tr>
 				<td>
 				路径>>
 				<?php if(is_array($roots)): foreach($roots as $key=>$root): ?>>> <?php echo ($root); endforeach; endif; ?>
 				</td>
 			</tr>
 		</table>
 		<table width="500" border="1">
 			<tr>
	 			<td>id</td>
	 			<td>类名</td>
	 			<td>父id</td>
	 			<td>路径</td>
	 			<td>操作</td>
 			</tr>
 			<?php if(is_array($rows)): foreach($rows as $key=>$row): ?><tr>
	 				<td><?php echo ($row["id"]); ?></td>
	 				<td><?php echo ($row["name"]); ?></td>
	 				<td><?php echo ($row["pid"]); ?></td>
	 				<td><?php echo ($row["path"]); ?></td>
	 				<td><a href="<?php echo U('Home/Index2/index2 ' , array( 'path' =>'0,15,' ));?>">查看子类</a>&nbsp;&nbsp;<a href="">删除</a></td>
	 			</tr><?php endforeach; endif; ?>
 		</table>

 	</center>
 </body>
 </html>